package homework3;

import java.util.Scanner;

public class c28plus2 {
	public static void main(String[]args) {
		Scanner input = new Scanner(System.in);
		System.out.println("输入月份：");
		int a = input.nextInt();
		System.out.println("输入日期：");
		int b = input.nextInt();
		if(a==3&&b<=20&&b>=1){
			System.out.println("双鱼座");
		}else if(a==3&&b>20&&b<=31) {
			System.out.println("白羊座");
		}else if(a==4&&b<=19&&b>=1) {
			System.out.println("白羊座");
		}else if(a==4&&b>19&&b<=30) {
			System.out.println("金牛座");
		}else if(a==5&&b<=20&&b>=1) {
			System.out.println("金牛座");
		}else if(a==5&&b>20&&b<=31) {
			System.out.println("双子座");
		}else if(a==6&&b<=21&&b>=1) {
			System.out.println("双子座");
		}else if(a==6&&b>21&&b<=30) {
			System.out.println("巨蟹座");
		}else if(a==7&&b<=22b>=1) {
			System.out.println("巨蟹座");
		}else if(a==7&&b>22&&b<=31) {
			System.out.println("狮子座");
		}else if(a==8&&b<=22&&b>=1) {
			System.out.println("狮子座");
		}else if(a==8&&b>22&&b<=31) {
			System.out.println("处女座");
		}else if(a==9&&b<=22&&b>=1) {
			System.out.println("处女座");
		}else if(a==9&&b>22&&b<=30) {
			System.out.println("天秤座");
		}else if(a==10&&b<=23&&b>=1) {
			System.out.println("天秤座");
		}else if(a==10&&b>23&&b<=31) {
			System.out.println("天蝎座");
		}else if(a==11&&b<=22&&b>=1) {
			System.out.println("天蝎座");
		}else if(a==11&&b>22&&b<=30) {
			System.out.println("射手座");
		}else if(a==12&&b<=21&&b>=1) {
			System.out.println("射手座");
		}else if(a==12&&b>21&&b<=31) {
			System.out.println("魔羯座");
		}else if(a==1&&b<=19&&b>=1) {
			System.out.println("魔羯座");
		}else if(a==1&&b>20&&b<=31) {
			System.out.println("水瓶座");
		}else if(a==2&&b<=18&&b>=1) {
			System.out.println("水瓶座");
		}else if(a==2&&b>18&&b<=30) {
			System.out.println("双鱼座");
		}else{
			System.out.println("不存在")
		}
    }
}
	
